﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DailyComics.Common.Model.ImageProvideStrategies;
using DailyComics.Common.Model.CachingStrategies;
using DailyComics.Common.Utilities;

namespace DailyComics.Common.Model
{
  public class MainModel
  {

    private IImageProvider provider;

    public MainModel(IImageProvider provider)
    {
      this.provider = provider;
    }

    public byte[] GetImageByDaye(DateTime date)
    {
      return provider.GetImage(date);
    }    
  }
}
